package com.dailyblue.java.spring.ioc.前边的话.模拟ioc写法;


public class C {

    private A a;

    public C(A a) {
        System.out.println("========>C类的对象产生了");
        this.a = a;
    }

    public void c() {
        System.out.println("我是C类的c方法");
        a.a();
    }
}
